--小飞飞啊
--qq:771501117
reaper.Undo_BeginBlock()
local marker_pos = reaper.GetCursorPosition()
local marker_id, marker_region = reaper.GetLastMarkerAndCurRegion(0, marker_pos)


local _, num = reaper.CountProjectMarkers(0)


local name = "重点标记 " .. num


local color = reaper.ColorToNative(255, 255, 0) | 0x1000000 -- 设置标记颜色为黄色


reaper.AddProjectMarker2(0, false, marker_pos, 0, name, marker_id, color)


reaper.UpdateArrange()
reaper.Undo_EndBlock("06.小飞飞啊_特殊标记（黄色）", -1)